package com.wx.chapter10.static_;

public class ChildGame {
    public static void main(String[] args) {
        Child jay = new Child("jay");
        jay.join();
        jay.count++;
        Child jim = new Child("jim");
        jim.join();
        jim.count++;
        Child rose = new Child("rose");
        rose.join();
        rose.count++;
        System.out.println(Child.count);
    }
}
